<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>join</title>
    <link type="text/css" rel="stylesheet" href="./css/login.css"/>
</head>
<body>
    <div class="list" style="height: 500px;">
        <h1>注册</h1>
        <span>已有账号？转去<a href="login.html">登录</a></span>
        <hr />
        <form onsubmit="return false">
			<input type="hidden" name="target" value="join">
            <p>
                <label for="username"><i style="background-image: url(images/username.png);"></i></label>
                <input type="text" name="username" id="username" class="put" placeholder="请输入用户名" maxlength="10" onblur="checkUsername()"/>
                <span class="error">*</span>
            </p>
            <p>
                <label for="password"><i style="background-image: url(images/password.png);"></i></label>
                <input type="password" id="password" class="put" placeholder="请输入密码" maxlength="15"  onblur="checkPwd()"/>
                <span class="error">*</span>
            </p>
			<p>
                <label for="repwd"><i style="background-image: url(images/password2.png);"></i></label>
                <input type="password" id="repwd" class="put" maxlength="15" placeholder="请再次输入密码" onblur="checkRePwd()"/>
                <span class="error">*</span>
            </p>
			<input type="hidden" name="password" />
			<p>
                <label for="equipCode"><i style="background-image: url(images/license_key.png);"></i></label>
<!--                <input type="text" name="email" id="email" class="put" maxlength="20" placeholder="请输入邮箱" onblur="checkEmail()"/>-->
                    <input type="text" name="equipCode" id="equipCode" class="put" maxlength="20" placeholder="请输入机器码" onblur="checkEquipCode()"/>
                <span class="error">*</span>
            </p>
            <p>
				<input type="submit" value="注册" id="submit"/>
				<input type="reset" value="重置" id="reset" />
			</p>
        </form>
    </div>

    <div id="errorTips" onclick="hideError()">
        <p>用户名或者密码错误！</p>
    </div>

    <script src="js/lib/jquery-3.3.1.min.js"></script>
    <script src="js/util/storageUtils.js"></script>
    <script src="js/lib/axios.js"></script>
    <script src="js/lib/md5.js"></script>
    <script src="js/constant/constants.js"></script>
	<script src="js/join.js"></script>
	
</body>
</html>